#ifndef _ME2MAIL_AUTH_H
#define _ME2MAIL_AUTH_H

/* support qmail-sql */
#ifdef __cplusplus
extern "C" {
#endif

#include "vpopmail/vpopmail.h"
#include "vpopmail/vauth.h"

#include "ME2Mail.h"

int ME2MailAuth(int login_type, const char* user, const char* pass, char* home, char* size, char* level);
char* ME2MailDomainPath(const char* user);
int ME2MailChangePsw(const char* name, const char* domain, const char* newpass);
int load_connection_info();

#ifdef __cplusplus
}
#endif

#endif 

